﻿namespace TestApp.Client
{
    using Microsoft.Practices.Unity;

    internal class Bootstraper
    {
        private readonly IUnityContainer _container;


        public Bootstraper()
        {
            _container = new UnityContainer();
            _container.AddNewExtension<ClientUnityContainerExtension>();
        }

        public IEntitiesViewModel Entities
        {
            get { return _container.Resolve<IEntitiesViewModel>(); }
        }
    }
}
